//k1 edit 22.2.25

private ["_center","_rotation","_obj","_pos","_parkedVehicleClasses"];

_center               = [_this, 0] call bis_fnc_param;
_rotation             = [_this, 1] call bis_fnc_param;
_staticWeaponClasses  = [_this, 2, []] call bis_fnc_param;
_parkedVehicleClasses = [_this, 3, []] call bis_fnc_param;
_parkedArmorClasses   = [_this, 4, []] call bis_fnc_param;
_staticAAClasses      = [_this, 5, []] call bis_fnc_param;

if (isNil "A3E_MotorPoolMarkerNumber") then [{
    A3E_MotorPoolMarkerNumber = 0;
},{
    A3E_MotorPoolMarkerNumber = A3E_MotorPoolMarkerNumber + 1;
}];
_mNumber = A3E_MotorPoolMarkerNumber;

_fnc_createObject = {
    params["_className","_centerPos","_relativePos","_rotateDir","_relativeDir"];
    private["_object", "_realPos", "_realDir"];

    _fnc_rotatePos = {
        private ["_centerPos", "_pos", "_dir"];
        private ["_px", "_py", "_mpx", "_mpy", "_ma", "_rpx", "_rpy"];
        _centerPos = _this select 0;
        _pos = _this select 1;
        _dir = _this select 2;
        _px = _pos select 0;
        _py = _pos select 1;
        _mpx = _centerPos select 0;
        _mpy = _centerPos select 1;
        _ma = _dir;
        _rpx = ( (_px - _mpx) * cos(_ma) ) + ( (_py - _mpy) * sin(_ma) ) + _mpx;
        _rpy = (-(_px - _mpx) * sin(_ma) ) + ( (_py - _mpy) * cos(_ma) ) + _mpy;
        [_rpx, _rpy, (_pos select 2)];
    };

    _realPos = ([_centerPos, [(_centerPos select 0) + (_relativePos select 0), (_centerPos select 1) + (_relativePos select 1),(_relativePos select 2)], _rotateDir] call _fnc_rotatePos);
    _object = createVehicle [_className, _realPos, [], 0, "CAN_COLLIDE"];
    _object setdir (_relativeDir + _rotateDir);
    _object setPosATL _realPos;
    _object
};

_obj = ['Land_Bunker_01_blocks_3_F',_center,[-31.2,-25.4,0.3],_rotation,0] call _fnc_createObject;
_obj = ['Land_Bunker_01_blocks_3_F',_center,[-30.8,24.8,0.4],_rotation,179] call _fnc_createObject;
_obj = ['Land_BagBunker_Small_F',_center,[-34.8,8.6,0],_rotation,90] call _fnc_createObject;
_obj = ['Land_BagBunker_Small_F',_center,[-34.9,-6.9,0],_rotation,90] call _fnc_createObject;
_obj = ['Land_BarGate_F',_center,[-34.1,0.5,0],_rotation,92] call _fnc_createObject;
_obj = ['Land_Shoot_House_Tunnel_Prone_F',_center,[-24.4,14.3,0],_rotation,358] call _fnc_createObject;
_obj = ['Land_Shoot_House_Tunnel_Prone_F',_center,[-24.8,-13,0],_rotation,0] call _fnc_createObject;
_obj = ['Land_SCF_01_chimney_F',_center,[-4.7,-0.1,0],_rotation,349] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Cargo_Patrol_V1_F',_center,[-19.6,11.8,0],_rotation,181] call _fnc_createObject;
_obj = ['Land_Cargo_Patrol_V1_F',_center,[-19.9,-10.8,0],_rotation,0] call _fnc_createObject;
_obj = ['Land_BagBunker_Small_F',_center,[-2.1,33.3,0],_rotation,181] call _fnc_createObject;
//光锥(灯)
_obj = ['Reflector_Cone_01_Long_white_F',_center,[-31.2,-27.2,4],_rotation,49] call _fnc_createObject;
//_obj setVectorDirAndUp [[0.707107,0.612372,-0.353553],[0,0.5,0.866025]]; //矢量旋转
_obj = ['Reflector_Cone_01_Long_white_F',_center,[-30.1,29,2],_rotation,131] call _fnc_createObject;
//_obj setVectorDirAndUp [[0.707107,-0.612373,-0.353553],[0,-0.5,0.866026]];
_obj = ['Reflector_Cone_01_Long_white_F',_center,[25.5,-27.9,3.5],_rotation,311] call _fnc_createObject;
//_obj setVectorDirAndUp [[-0.707107,0.612372,-0.353553],[0,0.5,0.866025]];
_obj = ['Reflector_Cone_01_Long_white_F',_center,[26.9,29.5,3.8],_rotation,229] call _fnc_createObject;
//_obj setVectorDirAndUp [[-0.707107,-0.612373,-0.353553],[0,-0.5,0.866026]];
_obj = ['Reflector_Cone_01_Long_red_F',_center,[-9.4,-0.6,61.5],_rotation,262] call _fnc_createObject;
_obj setVectorDirAndUp [[-8.74228e-008,-1.19249e-008,-1],[0,-1,1.19249e-008]];
_obj = ['Reflector_Cone_01_Long_red_F',_center,[-3.4,-0.4,62.5],_rotation,262] call _fnc_createObject;
_obj setVectorDirAndUp [[-8.74228e-008,-1.19249e-008,-1],[0,-1,1.19249e-008]];

_obj = ['Land_Mil_WallBig_4m_F',_center,[-33.5,-16.6,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-24,-31.1,6.3],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-34.6,-20.5,6.3],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-33,-24.4,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-31.7,-31.1,6.3],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-33.6,-20.5,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-33,-20.5,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-23.3,-20.9,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-23.3,-24.8,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-34.7,-24.4,6.3],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-33.6,-24.4,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-31.7,-30.1,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-23.2,-17,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-34.7,-28.3,6.3],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-31.7,-29.4,2],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[0,-4.37114e-008,-1],[0,1,-4.37114e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-33.7,-28.3,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-24,-29.4,2],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[0,-4.37114e-008,-1],[0,1,-4.37114e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-27.9,-29.5,2],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[0,-4.37114e-008,-1],[0,1,-4.37114e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-27.9,-31.1,6.3],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-24,-30.1,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-33.1,-28.3,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-27.9,-30.1,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-34.6,-16.6,6.3],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-32.9,-16.6,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-32.8,-5,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-33.3,6.6,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-23.2,-5.2,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-34.5,-8.9,6.3],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-34.5,-12.8,6.3],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-34.3,14.4,6.3],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-34.5,-5,6.3],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-34.4,2.7,6.3],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-32.7,2.7,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-23,6.4,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-32.9,-12.8,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-32.7,6.6,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-33.4,-8.9,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-32.7,-1.2,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-23.2,-13.2,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-23.1,-9.3,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-34.3,10.5,6.3],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-33.3,10.5,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-32.6,14.4,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-32.7,10.5,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-25.1,12.5,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-25.4,-11.1,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-34.4,-1.1,6.3],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-33.5,-5,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-33.2,14.4,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-34.3,6.6,6.3],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-32.8,-8.9,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-22.9,14.2,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-22.9,10.3,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-33.5,-12.8,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-33,29.8,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-32.4,29.8,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-32.5,22.1,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-31.1,31.7,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-32.6,18.2,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-34.2,22.1,6.3],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-33.1,26,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-31.1,31.1,2],_rotation,270] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-3.56109e-005,-2.57581e-007,-1],[0.00689817,-0.999976,1.19246e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-33.1,22.1,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-32.5,25.9,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-27.2,31.7,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-27.2,32.8,6.3],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-23.3,31.8,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-23.3,31.2,2],_rotation,270] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-3.56109e-005,-2.57581e-007,-1],[0.00689817,-0.999976,1.19246e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-23.3,32.8,6.3],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-33.2,18.2,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-34.1,29.9,6.3],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-22.8,18.1,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-22.8,21.9,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-22.7,25.8,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-34.1,26,6.3],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-34.2,18.2,6.3],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-27.2,31.1,2],_rotation,270] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-3.56109e-005,-2.57581e-007,-1],[0.00689817,-0.999976,1.19246e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-31.1,32.7,6.3],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_BagBunker_Small_F',_center,[-2.7,-31.7,0],_rotation,359] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-4.6,-29.5,2],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[0,-4.37114e-008,-1],[0,1,-4.37114e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-4.6,-31.1,6.3],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-0.7,-29.4,2],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[0,-4.37114e-008,-1],[0,1,-4.37114e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[7,-31.1,6.3],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-4.6,-30.1,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-0.7,-31.1,6.3],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[7,-30.1,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[3.1,-30.1,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[7,-29.4,2],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[0,-4.37114e-008,-1],[0,1,-4.37114e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-12.4,-29.5,2],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[0,-4.37114e-008,-1],[0,1,-4.37114e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-16.3,-30.1,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-16.3,-29.4,2],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[0,-4.37114e-008,-1],[0,1,-4.37114e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-16.3,-31.1,6.3],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-20.1,-30.1,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-20.1,-29.5,2],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[0,-4.37114e-008,-1],[0,1,-4.37114e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-8.5,-30.1,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-20.1,-31.1,6.3],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-8.5,-29.4,2],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[0,-4.37114e-008,-1],[0,1,-4.37114e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-0.7,-30.1,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[3.1,-31.1,6.3],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[3.1,-29.5,2],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[0,-4.37114e-008,-1],[0,1,-4.37114e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-12.4,-31.1,6.3],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-8.5,-31.1,6.3],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-12.4,-30.1,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-19.4,-1.5,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-9.5,8.3,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-5.6,8.3,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-21.3,-3.4,0],_rotation,4] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-21.2,-1.4,2.2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-17.3,-7.2,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-21.1,8.2,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-21.2,-7.2,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-21.2,2.6,2.2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-9.6,-7.2,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-17.3,8.3,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-13.4,8.3,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-5.7,-7.2,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-21.7,-1.5,4.5],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-13.4,-7.2,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-21.1,4.4,0],_rotation,182] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-19.3,2.4,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-21.6,2.5,4.5],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-5.53339e-007,-6.32773e-005,-1],[0.999944,-0.0105799,1.16158e-007]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-19.4,31.1,2],_rotation,270] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-3.56109e-005,-2.57581e-007,-1],[0.00689817,-0.999976,1.19246e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-7.8,32.9,6.3],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-3.9,31.2,2],_rotation,270] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-3.56109e-005,-2.57581e-007,-1],[0.00689817,-0.999976,1.19246e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-11.7,32.9,6.3],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[3.8,31.3,2],_rotation,270] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-3.56109e-005,-2.57581e-007,-1],[0.00689817,-0.999976,1.19246e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-11.7,31.8,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-15.6,31.2,2],_rotation,270] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-3.56109e-005,-2.57581e-007,-1],[0.00689817,-0.999976,1.19246e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-11.7,31.2,2],_rotation,270] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-3.56109e-005,-2.57581e-007,-1],[0.00689817,-0.999976,1.19246e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-0.1,31.3,2],_rotation,270] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-3.56109e-005,-2.57581e-007,-1],[0.00689817,-0.999976,1.19246e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[-0.1,32.9,6.3],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[3.8,31.9,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-7.8,31.9,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-7.8,31.3,2],_rotation,270] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-3.56109e-005,-2.57581e-007,-1],[0.00689817,-0.999976,1.19246e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[3.8,33,6.3],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[7.7,32,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[7.7,31.4,2],_rotation,270] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-3.56109e-005,-2.57581e-007,-1],[0.00689817,-0.999976,1.19246e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[7.7,33,6.3],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-3.9,31.9,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-19.4,32.8,6.3],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-15.6,31.8,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-15.6,32.8,6.3],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-19.4,31.8,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-3.9,32.9,6.3],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[-0.1,31.9,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[26.4,-31.1,6.3],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[14.7,-31.1,6.3],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[26.4,-30.1,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[22.5,-30.1,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[18.6,-30.1,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[14.7,-29.4,2],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[0,-4.37114e-008,-1],[0,1,-4.37114e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[18.6,-31.1,6.3],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[27.6,-16.2,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-1.62761e-008,-1.18e-006,-1],[-0.999782,0.0208982,-8.38727e-009]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[18.6,-29.5,2],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[0,-4.37114e-008,-1],[0,1,-4.37114e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[22.5,-29.4,2],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[0,-4.37114e-008,-1],[0,1,-4.37114e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[26.4,-29.5,2],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[0,-4.37114e-008,-1],[0,1,-4.37114e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[28.1,-20.1,0],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[29.2,-20.1,6.3],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[28.1,-24,0],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[27.5,-24,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-1.62761e-008,-1.18e-006,-1],[-0.999782,0.0208982,-8.38727e-009]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[29.1,-24,6.3],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[28,-27.9,0],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[27.3,-27.9,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-1.62761e-008,-1.18e-006,-1],[-0.999782,0.0208982,-8.38727e-009]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[10.9,-29.5,2],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[0,-4.37114e-008,-1],[0,1,-4.37114e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[29,-27.9,6.3],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[10.9,-31.1,6.3],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[10.9,-30.1,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[28.3,-16.2,0],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[28,-28.4,0],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[22.5,-31.1,6.3],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[27.5,-20.1,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-1.62761e-008,-1.18e-006,-1],[-0.999782,0.0208982,-8.38727e-009]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[14.7,-30.1,0],_rotation,0] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[29.3,-16.2,6.3],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[28.8,10.9,0],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[29.9,14.7,6.3],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[29.8,10.8,6.3],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[28.1,10.9,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-1.62761e-008,-1.18e-006,-1],[-0.999782,0.0208982,-8.38727e-009]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[28.9,14.8,0],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[28.3,14.8,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-1.62761e-008,-1.18e-006,-1],[-0.999782,0.0208982,-8.38727e-009]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[28.7,7,0],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[28.1,7,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-1.62761e-008,-1.18e-006,-1],[-0.999782,0.0208982,-8.38727e-009]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[28,3.1,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-1.62761e-008,-1.18e-006,-1],[-0.999782,0.0208982,-8.38727e-009]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[29.7,3.1,6.3],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[28,-0.7,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-1.62761e-008,-1.18e-006,-1],[-0.999782,0.0208982,-8.38727e-009]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[28.6,3.1,0],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[29.6,-0.8,6.3],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[28.5,-4.6,0],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[27.8,-4.6,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-1.62761e-008,-1.18e-006,-1],[-0.999782,0.0208982,-8.38727e-009]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[29.7,7,6.3],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[29.5,-4.7,6.3],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[28.4,-8.5,0],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[27.8,-8.5,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-1.62761e-008,-1.18e-006,-1],[-0.999782,0.0208982,-8.38727e-009]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[29.4,-8.5,6.3],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[28.3,-12.4,0],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[27.7,-12.4,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-1.62761e-008,-1.18e-006,-1],[-0.999782,0.0208982,-8.38727e-009]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[29.3,-12.4,6.3],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[28.6,-0.7,0],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[11.6,33,6.3],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[23.2,33.1,6.3],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[27.1,32.1,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[15.4,31.4,2],_rotation,270] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-3.56109e-005,-2.57581e-007,-1],[0.00689817,-0.999976,1.19246e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[19.3,32,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[11.6,31.3,2],_rotation,270] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-3.56109e-005,-2.57581e-007,-1],[0.00689817,-0.999976,1.19246e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[23.2,31.5,2],_rotation,270] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-3.56109e-005,-2.57581e-007,-1],[0.00689817,-0.999976,1.19246e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[19.3,33.1,6.3],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[28.6,30.3,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-1.62761e-008,-1.18e-006,-1],[-0.999782,0.0208982,-8.38727e-009]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[15.4,33,6.3],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[30.2,30.2,6.3],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[15.4,32,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[28.5,26.4,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-1.62761e-008,-1.18e-006,-1],[-0.999782,0.0208982,-8.38727e-009]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[11.6,32,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[29.1,22.5,0],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[28.4,22.5,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-1.62761e-008,-1.18e-006,-1],[-0.999782,0.0208982,-8.38727e-009]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[30.1,22.5,6.3],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[29,18.6,0],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[28.3,18.6,2],_rotation,181] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-1.62761e-008,-1.18e-006,-1],[-0.999782,0.0208982,-8.38727e-009]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[19.3,31.4,2],_rotation,270] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-3.56109e-005,-2.57581e-007,-1],[0.00689817,-0.999976,1.19246e-008]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[30,18.6,6.3],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[27.1,33.1,6.3],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[27.1,31.4,2],_rotation,270] call _fnc_createObject;
_obj allowDamage false;
_obj setVectorDirAndUp [[-3.56109e-005,-2.57581e-007,-1],[0.00689817,-0.999976,1]];
_obj = ['Land_Mil_WallBig_4m_F',_center,[29.2,30.3,0],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[27.8,32.2,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[30.2,26.3,6.3],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[29.1,26.4,0],_rotation,271] call _fnc_createObject;
_obj allowDamage false;
_obj = ['Land_Mil_WallBig_4m_F',_center,[23.2,32.1,0],_rotation,180] call _fnc_createObject;
_obj allowDamage false;

_addCargoGlobal = {
	clearItemCargoGlobal _obj;
	clearWeaponCargoGlobal _obj;
	clearMagazineCargoGlobal _obj;
	clearBackpackCargoGlobal _obj;
	_items params ['_arr1', '_arr2'];
	{_obj addItemCargoGlobal [_arr1 select _forEachIndex, _x]} forEach _arr2;
	_weapons params ['_arr1', '_arr2'];
	{_obj addWeaponCargoGlobal [_arr1 select _forEachIndex, _x]} forEach _arr2;
	_magazines params ['_arr1', '_arr2'];
	{_obj addMagazineCargoGlobal [_arr1 select _forEachIndex, _x]} forEach _arr2;
	_backpacks params ['_arr1', '_arr2'];
	{_obj addBackpackCargoGlobal [_arr1 select _forEachIndex, _x]} forEach _arr2;
};
_obj = ['Box_NATO_Wps_F',_center,[-32,-28,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_items = [[],[]];
_weapons = [["arifle_MX_SW_F","LMG_Mk200_F","LMG_Zafir_F","MMG_01_hex_F","MMG_02_camo_F","LMG_03_Vehicle_F","arifle_SPAR_02_blk_F"],[3,3,3,3,3,3,3]];
_magazines = [["100Rnd_65x39_caseless_mag","150Rnd_556x45_Drum_Mag_F","200Rnd_65x39_cased_Box","150Rnd_762x54_Box","150Rnd_93x64_Mag","130Rnd_338_Mag","200Rnd_556x45_Box_Tracer_Red_F","SmokeShell","DemoCharge_Remote_Mag","SatchelCharge_Remote_Mag","APERSMine_Range_Mag","APERSBoundingMine_Range_Mag","APERSTripMine_Wire_Mag"],[10,10,10,10,10,10,10,5,3,2,5,5,5]];
_backpacks = [[],[]];
call _addCargoGlobal;
_obj = ['Box_NATO_Wps_F',_center,[-31.1,30,0],_rotation,91] call _fnc_createObject;
_obj allowDamage false;
_items = [[],[]];
_weapons = [["arifle_MX_SW_F","LMG_Mk200_F","LMG_Zafir_F","MMG_01_hex_F","MMG_02_camo_F","LMG_03_Vehicle_F","arifle_SPAR_02_blk_F"],[3,3,3,3,3,3,3]];
_magazines = [["100Rnd_65x39_caseless_mag","150Rnd_556x45_Drum_Mag_F","200Rnd_65x39_cased_Box","150Rnd_762x54_Box","150Rnd_93x64_Mag","130Rnd_338_Mag","200Rnd_556x45_Box_Tracer_Red_F","SmokeShell","DemoCharge_Remote_Mag","SatchelCharge_Remote_Mag","APERSMine_Range_Mag","APERSBoundingMine_Range_Mag","APERSTripMine_Wire_Mag"],[10,10,10,10,10,10,10,5,3,2,5,5,5]];
_backpacks = [[],[]];
call _addCargoGlobal;
_obj = ['Box_NATO_WpsLaunch_F',_center,[-18.2,-2.4,0],_rotation,88] call _fnc_createObject;
_obj allowDamage false;
_items = [[],[]];
_weapons = [["launch_B_Titan_F","launch_B_Titan_short_F","launch_NLAW_F","launch_MRAWS_sand_F"],[1,1,1,1]];
_magazines = [["Titan_AA","Titan_AT","Titan_AP","NLAW_F","MRAWS_HEAT_F","MRAWS_HE_F"],[3,3,3,3,3,3]];
_backpacks = [["B_Kitbag_rgr"],[3]];
call _addCargoGlobal;
_obj = ['Box_NATO_WpsLaunch_F',_center,[-18.3,0.4,0],_rotation,88] call _fnc_createObject;
_obj allowDamage false;
_items = [[],[]];
_weapons = [["launch_B_Titan_F","launch_B_Titan_short_F","launch_NLAW_F","launch_MRAWS_sand_F"],[1,1,1,1]];
_magazines = [["Titan_AA","Titan_AT","Titan_AP","NLAW_F","MRAWS_HEAT_F","MRAWS_HE_F"],[3,3,3,3,3,3]];
_backpacks = [["B_Kitbag_rgr"],[3]];
call _addCargoGlobal;
_obj = ['Box_NATO_WpsLaunch_F',_center,[-18.4,3.1,0],_rotation,88] call _fnc_createObject;
_obj allowDamage false;
_items = [[],[]];
_weapons = [["launch_B_Titan_F","launch_B_Titan_short_F","launch_NLAW_F","launch_MRAWS_sand_F"],[1,1,1,1]];
_magazines = [["Titan_AA","Titan_AT","Titan_AP","NLAW_F","MRAWS_HEAT_F","MRAWS_HE_F"],[3,3,3,3,3,3]];
_backpacks = [["B_Kitbag_rgr"],[3]];
call _addCargoGlobal;
_obj = ['Box_NATO_Ammo_F',_center,[-1.7,0.3,22],_rotation,360] call _fnc_createObject;
_obj allowDamage false;
_items = [[],[]];
_weapons = [["srifle_GM6_ghex_LRPS_F"],[1]];
_magazines = [["5Rnd_127x108_Mag","5Rnd_127x108_APDS_Mag"],[2,2]];
_backpacks = [[],[]];
call _addCargoGlobal;
_obj = ['Box_NATO_AmmoVeh_F',_center,[0.8,0.2,0],_rotation,360] call _fnc_createObject;
_obj allowDamage false;
_items = [["NVGoggles","FirstAidKit","Medikit","ToolKit"],[5,30,5,5]];
_weapons = [[],[]];
_magazines = [["SmokeShell","SmokeShellYellow","SmokeShellGreen","SmokeShellRed","SmokeShellPurple","SmokeShellOrange","SmokeShellBlue"],[10,10,10,10,10,10,10]];
_backpacks = [["B_Bergen_hex_F"],[4]];
call _addCargoGlobal;
_obj = ['Box_NATO_Ammo_F',_center,[-1.7,0.3,22],_rotation,360] call _fnc_createObject;
_obj allowDamage false;
_items = [[],[]];
_weapons = [["srifle_GM6_ghex_LRPS_F"],[1]];
_magazines = [["5Rnd_127x108_Mag","5Rnd_127x108_APDS_Mag"],[2,2]];
_backpacks = [[],[]];
call _addCargoGlobal;

//固定武器
_MGGMH = a3e_arr_Escape_SWC_MG_H + a3e_arr_Escape_SWC_GM_H;
_gun = selectRandom _MGGMH;
_obj = [_gun,_center,[-35,-6.7,0],_rotation,270] call _fnc_createObject;
Escape_allStatics pushback _obj;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_gun = selectRandom _MGGMH;
_obj = [_gun,_center,[-35,8.8,0],_rotation,270] call _fnc_createObject;
Escape_allStatics pushback _obj;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_gun = selectRandom _MGGMH;
_obj = [_gun,_center,[-2.8,-31.8,0],_rotation,179] call _fnc_createObject;
Escape_allStatics pushback _obj;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_gun = selectRandom _MGGMH;
_obj = [_gun,_center,[-2.7,-2,22],_rotation,90] call _fnc_createObject;
Escape_allStatics pushback _obj;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_gun = selectRandom _MGGMH;
_obj = [_gun,_center,[-10,1.1,22],_rotation,300] call _fnc_createObject;
Escape_allStatics pushback _obj;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_gun = selectRandom _MGGMH;
_obj = [_gun,_center,[-9.2,-2.9,22],_rotation,237] call _fnc_createObject;
Escape_allStatics pushback _obj;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_gun = selectRandom _MGGMH;
_obj = [_gun,_center,[-3.9,2.7,22],_rotation,59] call _fnc_createObject;
Escape_allStatics pushback _obj;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_gun = selectRandom _MGGMH;
_obj = [_gun,_center,[-7.3,3.5,22],_rotation,356] call _fnc_createObject;
Escape_allStatics pushback _obj;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_gun = selectRandom _MGGMH;
_obj = [_gun,_center,[-5.4,-4.2,22],_rotation,158] call _fnc_createObject;
Escape_allStatics pushback _obj;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_gun = selectRandom _MGGMH;
_obj = [_gun,_center,[-2,33.4,0],_rotation,1] call _fnc_createObject;
Escape_allStatics pushback _obj;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_gun = selectRandom _MGGMH;
_obj = ['B_HMG_01_high_F',_center,[-5.5,2.3,54.5],_rotation,19] call _fnc_createObject;
Escape_allStatics pushback _obj;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_gun = selectRandom _MGGMH;
_obj = ['B_HMG_01_high_F',_center,[-5.6,-3.2,54.5],_rotation,149] call _fnc_createObject;
Escape_allStatics pushback _obj;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_gun = selectRandom _MGGMH;
_obj = ['B_HMG_01_high_F',_center,[-9.3,-0.3,54.5],_rotation,275] call _fnc_createObject;
Escape_allStatics pushback _obj;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_gun = selectRandom _MGGMH;
_obj = ['B_HMG_01_high_F',_center,[-3.6,-1.1,54.5],_rotation,94] call _fnc_createObject;
Escape_allStatics pushback _obj;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_gun = selectRandom _MGGMH;
_obj = ['B_HMG_01_high_F',_center,[-8.1,2,54.5],_rotation,331] call _fnc_createObject;
Escape_allStatics pushback _obj;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_gun = selectRandom _MGGMH;
_obj = ['B_HMG_01_high_F',_center,[-8.1,-2.6,54.5],_rotation,217] call _fnc_createObject;
Escape_allStatics pushback _obj;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];

_MGA = a3e_arr_Escape_SWC_MG_A;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-34.1,-16.7,4.3],_rotation,271] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-34.2,-28.3,4.3],_rotation,271] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-30.1,-27.4,0],_rotation,101] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-31.7,-30.6,4.3],_rotation,180] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-25.7,11.3,0],_rotation,266] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-33.8,6.6,4.3],_rotation,271] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-24.4,14,0],_rotation,357] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-24.9,-12.7,0],_rotation,179] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-22.4,-1.4,5],_rotation,271] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-34,-5.1,4.3],_rotation,271] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-22.3,2.6,5],_rotation,271] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-24.8,-9.6,0],_rotation,318] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-33.7,18.2,4.3],_rotation,271] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-33.5,29.8,4.3],_rotation,271] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-31.1,32.3,4.3],_rotation,360] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-30.8,27.3,0],_rotation,75] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-8.5,-30.6,4.3],_rotation,180] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[3.2,-30.6,4.3],_rotation,180] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-20.1,-30.6,4.3],_rotation,180] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-21.3,2.6,0],_rotation,271] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-21.5,-0.9,0],_rotation,271] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-19.4,32.3,4.3],_rotation,360] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-7.8,32.4,4.3],_rotation,360] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[3.8,32.4,4.3],_rotation,360] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[26.4,-30.6,4.3],_rotation,180] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[28.5,-27.9,4.3],_rotation,91] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[14.8,-30.6,4.3],_rotation,180] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-32,-23.5,0],_rotation,356] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[25.9,-28.5,0],_rotation,271] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[28.8,-16.2,4.3],_rotation,91] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[29,-4.6,4.3],_rotation,91] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[29.3,7,4.3],_rotation,91] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[-31.6,22.6,0],_rotation,180] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[29.8,30.3,4.3],_rotation,91] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[29.5,18.6,4.3],_rotation,91] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[27,32.6,4.3],_rotation,360] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[15.4,32.6,4.3],_rotation,360] call _fnc_createObject;
Escape_allStatics pushback _obj;
_gun = selectRandom _MGA;
_obj = [_gun,_center,[27.4,30.4,0],_rotation,271] call _fnc_createObject;
Escape_allStatics pushback _obj;

_gun = selectRandom a3e_arr_MortarSite;
_obj = [_gun,_center,[-6.2,-0.1,59.6],_rotation,0] call _fnc_createObject;
[_obj,A3E_VAR_Side_Opfor] spawn A3E_fnc_AddStaticGunner;
Escape_all_assets pushback _obj;
a3e_var_artillery_units pushBack _obj;
_obj setVariable ["Escape_assets_control", true, true];

_obj = ['B_AAA_System_01_F',_center,[-20.6,-12.3,6.6],_rotation,268] call _fnc_createObject;
_obj setMass 99999;
createVehicleCrew _obj;
if (side _obj != A3E_VAR_Side_Opfor) then {_grp = createGroup [A3E_VAR_Side_Opfor, true]; (units _obj) joinSilent _grp};
_obj addWeaponGlobal "Gatling_30mm_Plane_CAS_01_F";
_obj addMagazineGlobal "1000Rnd_Gatling_30mm_Plane_CAS_01_F";
_obj addMagazineGlobal "1000Rnd_Gatling_30mm_Plane_CAS_01_F";
_obj addMagazineGlobal "1000Rnd_Gatling_30mm_Plane_CAS_01_F";
_obj addMagazineGlobal "1000Rnd_Gatling_30mm_Plane_CAS_01_F";
_obj addMagazineGlobal "1000Rnd_Gatling_30mm_Plane_CAS_01_F";
_obj = ['B_AAA_System_01_F',_center,[-20.2,13,6.6],_rotation,271] call _fnc_createObject;
_obj setMass 99999;
createVehicleCrew _obj;
if (side _obj != A3E_VAR_Side_Opfor) then {_grp = createGroup [A3E_VAR_Side_Opfor, true]; (units _obj) joinSilent _grp};
_obj addWeaponGlobal "Gatling_30mm_Plane_CAS_01_F";
_obj addMagazineGlobal "1000Rnd_Gatling_30mm_Plane_CAS_01_F";
_obj addMagazineGlobal "1000Rnd_Gatling_30mm_Plane_CAS_01_F";
_obj addMagazineGlobal "1000Rnd_Gatling_30mm_Plane_CAS_01_F";
_obj addMagazineGlobal "1000Rnd_Gatling_30mm_Plane_CAS_01_F";
_obj addMagazineGlobal "1000Rnd_Gatling_30mm_Plane_CAS_01_F";

//指定的直升机
_obj = ['C_Heli_Light_01_civil_F',_center,[-6.3,-17.2,0],_rotation,270] call _fnc_createObject;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_obj = ['C_Heli_Light_01_civil_F',_center,[-5.3,20.2,0],_rotation,270] call _fnc_createObject;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_obj = ['B_Heli_Light_01_F',_center,[11.6,-16.8,0],_rotation,269] call _fnc_createObject;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_obj = ['B_Heli_Light_01_F',_center,[14.3,19.8,0],_rotation,269] call _fnc_createObject;
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_obj = ['O_Heli_Attack_02_dynamicLoadout_F',_center,[14.1,0.6,0],_rotation,271] call _fnc_createObject;
[_obj,A3E_VAR_Side_Opfor] spawn A3E_fnc_AddStaticGunner; //米48加炮手
Escape_all_assets pushback _obj;
_obj setVariable ["Escape_assets_control", true, true];
_obj setfuel (.1 + random .7); //

Escape_campType_arr pushback [_center,'载具点','神曲'];
publicVariable 'Escape_campType_arr';

["A3E_MotorPoolMapMarker" + str _mNumber,_center,"o_service"] call A3E_fnc_createLocationMarker;

_marker = createMarkerLocal ["A3E_MotorPoolPatrolMarker" + str _mNumber, _center];
_marker setMarkerShapeLocal "RECTANGLE";
_marker setMarkerAlphaLocal 0;
_marker setMarkerSizeLocal [40,38];


